package com.ruike.alisurface.bean;

import java.util.List;

/**
 * @author: tjf
 * @date: 2023-09-01
 * @desc： 创建订单数据类
 */
public class CreateOrderBean {


    /**
     * mchid : 6375220095602438
     * details : [{"productid":"1640592479575228416","quantity":1,"slotIndexs":[1]}]
     */

    private String mchid;
    private List<DetailsBean> details;

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public List<DetailsBean> getDetails() {
        return details;
    }

    public void setDetails(List<DetailsBean> details) {
        this.details = details;
    }

    public static class DetailsBean {
        /**
         * productid : 1640592479575228416
         * quantity : 1
         * slotIndexs : [1]
         */

        private String productid;
        private int quantity;
        private String slotIndex;
        private List<Integer> slotIndexs;

        public String getSlotIndex() {
            return slotIndex;
        }

        public void setSlotIndex(String slotIndex) {
            this.slotIndex = slotIndex;
        }

        public String getProductid() {
            return productid;
        }

        public void setProductid(String productid) {
            this.productid = productid;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public List<Integer> getSlotIndexs() {
            return slotIndexs;
        }

        public void setSlotIndexs(List<Integer> slotIndexs) {
            this.slotIndexs = slotIndexs;
        }
    }
}
